package com.tencreat.domain.mall.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class MallGoodsCollageRecordVo {

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品ID")
    private Long goodsId;

    @ApiModelProperty("手机号码")
    private String mobile;

    @ApiModelProperty("供应价格")
    private BigDecimal supplyPrice;

    @ApiModelProperty("商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty("拼团价格")
    private BigDecimal collagePrice;

    @ApiModelProperty("状态 1|成功 2|拼团中 3|失败")
    private Integer collageStatus;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("商品图片")
    private String picUrl;
}
